﻿//
// Created: 2018/8/22
// Author: chenqiang
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xproject.Framework.Core;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model.Util
{
    public class  UploadFile:IEntity
    {
    
       ///<summary>
       ///
       ///<summary>
       public string FileId  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string FileName  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public long FileSize  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string ServiceAddress  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string Path  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string Site  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string FileExt  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public DateTime CreateTime  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string ProjectId  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string Creator  { get; set; } 
         
        public string Spec { get; set; }
        public string Spec1 { get; set; }
        public string Spec2 { get; set; }
        public string Spec3 { get; set; }
        public string LocalFullPath { get; set; }
        [NotMapped]
        public long Id { get; set; }

        [NotMapped]
        public EntityState EntityState { get; set; }

        public int CompareTo(object obj)
        {
            throw new NotImplementedException();
        }
    }
}